package com.zcl.Thread.useThread;

/**
 * @Description:
 * @author: zcl
 * @date: 2022/3/9  10:44
 */
public class MyRunnable implements Runnable{


    @Override
    public void run() {
        System.out.println("运行中!");
    }
}



class Run{
    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        Thread thread = new Thread(myRunnable);
        thread.start();
        System.out.println("运行结束!");
    }
}